package com.feng;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * Hello world!
 *
 */
@EnableDiscoveryClient //表示向注册中心注册。
@EnableFeignClients // 表示开启FeignClients，后面会在接口上用到@FeignClient
@SpringBootApplication
public class EurekaFeginHystrixApplication
{
    public static void main(String[] args) {
        SpringApplication.run(EurekaFeginHystrixApplication.class, args);
    }
}
